package system

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/system/v1"
)

func (c *ControllerV1) MenuStore(ctx context.Context, req *v1.MenuStoreReq) (res *v1.MenuStoreRes, err error) {
	res = &v1.MenuStoreRes{}
	err = service.SysMenu().Store(ctx, &req.MenuFormInput)
	return
}
